package com.suredy.app.plan.model;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.suredy.core.model.BaseModel;

@Entity
@Table(name = "T_APP_PLAN_TESTITEM")
public class PlanTestItem extends BaseModel{
	private String testName;
	private String testCode;
	private String inspectorName;
	private String inspectorId;
	private int status=0;
	
	@ManyToOne(cascade = CascadeType.REFRESH, fetch = FetchType.LAZY)
	@JoinColumn(name="planinfo_id")
	private PlanInfo planInfo;
	
	public String getTestName() {
		return testName;
	}
	
	public void setTestName(String testName) {
		this.testName = testName;
	}
	
	public String getTestCode() {
		return testCode;
	}
	
	public void setTestCode(String testCode) {
		this.testCode = testCode;
	}
	
	public String getInspectorName() {
		return inspectorName;
	}
	
	public void setInspectorName(String inspectorName) {
		this.inspectorName = inspectorName;
	}
	
	public String getInspectorId() {
		return inspectorId;
	}
	
	public void setInspectorId(String inspectorId) {
		this.inspectorId = inspectorId;
	}
	
	public int getStatus() {
		return status;
	}
	
	public void setStatus(int status) {
		this.status = status;
	}

	
	public PlanInfo getPlanInfo() {
		return planInfo;
	}

	
	public void setPlanInfo(PlanInfo planInfo) {
		this.planInfo = planInfo;
	}	

}
